'use strict';
function numToChar(num){
  let remainder=num%26;
  let quotient=parseInt(num/26);
  if(quotient==0){
     return String.fromCharCode(remainder+96);
  }
  else if(quotient==1 && remainder==0){
    return 'z';
  }
  else if(quotient>1&&remainder==0){
    return numToChar(quotient-1)+'z';
  }
  else{
    return numToChar(quotient) + String.fromCharCode(remainder + 96);
  }
}
var number_map_to_word_over_26 = function(collection){
     let arr=[];
     for(let item of collection){
       arr.push( numToChar(item));
     }
console.log(arr);
return arr;//  return ['a','m','aa','ad','y','aa'];
};

module.exports = number_map_to_word_over_26;
